package com.deep.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.RequestMapping;

@ComponentScan(basePackages = {"com.deep.springboot"})
@EnableAutoConfiguration
public class Application {
	
	@RequestMapping("/")
    String home() {
        return "Hello World!";
    }
	
    public static void main(String[] args) throws Exception {
        SpringApplication.run(Application.class, args);
    }
}